package net.wanho.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Author：汤小洋
 * Date：2023-10-13 15:52
 * Description：<描述>
 */
@Data
@Component
@ConfigurationProperties(prefix = "shop.jwt")
public class JwtProperties implements Serializable {
    private String secret; // 密钥
    private Integer expire; // 过期时间，单位分钟
}
